$OpenBSD: patch-test_ruby_test_io_rb,v 1.1.1.1 2017/01/06 15:59:25 jeremy Exp $

Work around pthread fifo fdlock bug.

--- test/ruby/test_io.rb.orig	Sat Nov  5 00:28:09 2016
+++ test/ruby/test_io.rb	Wed Nov  9 07:34:54 2016
@@ -3329,7 +3329,7 @@ __END__
       File.mkfifo("fifo")
       assert_separately([], <<-'EOS')
         t1 = Thread.new {
-          open("fifo", "r") {|r|
+          open("fifo", "r+") {|r|
             r.read
           }
         }
